	<?php $i=1;foreach($pages as $item): ?>
	<?php if($i==1):?>
	
	<div class="box1">
	  <div class="wrap-box">
		<div class="col1 left">
		  <h1><?php echo $item['title'] ?></h1>
		  <hr class="line-green" />
		  <div class="desc"><?php echo $item['description'] ?></div>
		  <hr class="line-green" />
		  <div class="readmore"><a href="<?php echo site_url(set_url_title(strtolower($item['title'])))?>">READ MORE</a></div>
		</div>
		<!-- End Col1 -->
		
		<div class="col2 left align-right"> <img src="<?php echo base_url() ?>uploads/page/<?php echo $item['image'] ?>" /> </div>
		<!-- End Col2 -->
		
		<div class="clear"></div>
	  </div>
	  <!-- End Wrap-Box --> 
	  
	</div>
	<!-- End Box1 -->
	<?php else: ?>
	<?php if($i==2): ?>
	<div class="box2">
	  <div class="wrap-box">
		<div class="col1 left"><img src="<?php echo base_url() ?>uploads/page/<?php echo $item['image'] ?>" /> </div>
		<!-- End Col1 -->
		
		<div class="col2 left">
		  <h1><?php echo $item['title'] ?></h1>
		  <hr class="line-green" />
		  <div class="desc"><?php echo $item['description'] ?></div>
		  <hr class="line-green" />
		  <div class="readmore"><a href="<?php echo site_url(set_url_title(strtolower($item['title'])))?>">READ MORE</a></div>
		</div>
		<!-- End Col2 -->
		
		<div class="clear"></div>
	  </div>
	  <!-- End Wrap-Box --> 
	  
	</div>
	<!-- End Box2 -->
	<?php else: ?>
	<div class="box2 no-border">
	  <div class="wrap-box">
		<div class="col1 left">
		  <h1><?php echo $item['title'] ?></h1>
		  <hr class="line-green" />
		  <div class="desc"><?php echo $item['description'] ?></div>
		  <hr class="line-green" />
		  <div class="readmore"><a href="<?php echo site_url(set_url_title(strtolower($item['title'])))?>">READ MORE</a></div>
		</div>
		<!-- End Col1 -->
		
		<div class="col2 left align-right"> <img src="<?php echo base_url() ?>uploads/page/<?php echo $item['image'] ?>" /> </div>
		<!-- End Col2 -->
		
		<div class="clear"></div>
	  </div>
	  <!-- End Wrap-Box --> 
	  
	</div>
	<!-- End Box2 -->
	
	<?php endif; ?>
	<?php endif; ?>
	<?php $i++;endforeach ?>
